package br.com.character.flex.chorm.core.sql
{

    [Bindable]
    public class Equals extends Clause implements IEquals
    {
        public function Equals(f:IField, v:IValue)
        {
            super(f,v);
        }
        
        public function toSQL():String{
            var result:String = " Field or value does not exist for clause!";
            if(field!=null && value!=null){
                result = field.toSQL() + " = " + value.toSQL();
            } 
            return result;
        }
    }
}